//==============================================================================
// Underworld Passage_anim.txt
// Added death animation~WarriorMario
//==============================================================================

//==============================================================================
define empower
{
    SetSelector
    {
        EmpowerLogic
        SetSelector
        {
            set hotspot
            {
                version
                {
                    Visualnone Jimmy
                }
            }
        }
        SetSelector
        {
            set hotspot
            {
                version
                {
                    Visualparticle SFX E Pharaoh Empower Large
                }
            }
        }
    }
}

//==============================================================================
//define rainbow
//{
//   set hotspot
//   {
//      version
//      {
//         Visualparticle rainbow
//      }
//   }
//}

//==============================================================================
//define Glow
//{
//   set hotspot
//   {
//      version
//      {
//         Visualparticle SFX X Sky Passage Glow
//      }
//   }  
//}

//==============================================================================
define clouds
{
   set hotspot
   {
      version
      {
         Visualparticle rainbow clouds
      }
   }
}

//==============================================================================
define fire
{
   set hotspot
   {
      version
      {
         Visualparticle GP X Tartarian Gate Fire
      }
   }
}

//==============================================================================
define firebirth
{
   set hotspot
   {
      version
      {
         Visualparticle GP X Tartarian Gate Firebirth
      }
   }
}

//==============================================================================
define firedeath
{
   set hotspot
   {
      version
      {
         Visualparticle GP X Tartarian Gate Firedeath
      }
   }
}

//==============================================================================
define smokebirth
{
   set hotspot
   {
      version
      {
         Visualparticle GP X Tartarian Gate Smokebirth
      }
   }
}

//==============================================================================
define smoke
{
   set hotspot
   {
      version
      {
         Visualparticle GP X Tartarian Gate Smoke
      }
   }
}

//==============================================================================
define smokedeath
{
   set hotspot
   {
      version
      {
         Visualparticle GP X Tartarian Gate Smokedeath
      }
   }
}

//==============================================================================
define lavapool
{
	SetSelector
	{
		DamageLogic 0 50
		set hotspot
		{
			version
			{
				Visualparticle GP X Tartarian Gate Lavapool
			}
		}
		set hotspot
		{
			version
			{
				Visualnone bimmy
			}
		}
	}
}

//==============================================================================
define Ring
{
   set hotspot
  {
      version
      {
         Visualparticle sfx g helios tunnel ring
      }
   }
}

//==============================================================================
anim Idle
{
   SetSelector
   {
      ConstructionLogic 0 33 66
      SetSelector
		{
			containLogic
			set hotspot
			{
				version
				{
				Visual World A Underworld Passage
					Connect ATTACHPOINT clouds hotspot
					connect ATTACHPOINT empower hotspot
					Connect ATTACHPOINT lavapool hotspot
					connect HOTSPOT ring hotspot
					//Connect ATTACHPOINT smoke hotspot
					//Connect CHIN rainbow hotspot
				}
			}
			set hotspot
			{
				version
				{
				Visual World A Underworld Passage
					Connect ATTACHPOINT clouds hotspot
					connect ATTACHPOINT empower hotspot
					Connect ATTACHPOINT lavapool hotspot
					connect HOTSPOT ring hotspot
					//connect GarrisonFlag glow hotspot
					Connect ATTACHPOINT fire hotspot
					Connect ATTACHPOINT smoke hotspot
					//Connect CHIN rainbow hotspot
				}
			}
		}
      set hotspot
      {
         version
         {
				Visual Building Construction Medium A
					connect ATTACHPOINT empower hotspot
					connect attachpoint E_Long_Brick hotspot
					connect face E_Long_Brick hotspot
					connect chin E_Medium_Brick hotspot
					connect leftfoot E_Medium_Brick hotspot
					connect lefthand E_Small_Brick hotspot
					connect leftleg E_Small_Brick hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Building Construction Medium B
					connect ATTACHPOINT empower hotspot
					connect attachpoint E_Long_Brick hotspot
					connect face E_Long_Brick hotspot
					connect chin E_Medium_Brick hotspot
					connect leftfoot E_Medium_Brick hotspot
					connect lefthand E_Small_Brick hotspot
					connect leftleg E_Small_Brick hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual World A Underworld Passage_birth
					Connect ATTACHPOINT clouds hotspot
					connect ATTACHPOINT empower hotspot
					Connect ATTACHPOINT firebirth hotspot
					Connect ATTACHPOINT smokebirth hotspot
					//connect HOTSPOT ring hotspot
					//Connect CHIN rainbow hotspot
					tag SpecificSoundSet 0.33 false TartarianGateBirth checkVisible
         }
      }
   }
}

//==============================================================================
anim RangedAttack
{
	SetSelector
	{
		containLogic
		set hotspot
		{
			version
			{
			Visual World A Underworld Passage
                tag Attack 0.67 true
                tag Attack 0.83 true
                tag Attack 0.99 true
                tag GenericSound 0.65 true
                tag GenericSound 0.81 true
                tag GenericSound 0.97 true
				tag SpecificSoundSet 0.0 false UnderworldPassageAttackRumble checkVisible
                tag SpecificSoundSet 0.63 false JadeDragonChargedAttack checkVisible
                tag SpecificSoundSet 0.79 false JadeDragonChargedAttack checkVisible
                tag SpecificSoundSet 0.95 false JadeDragonChargedAttack checkVisible
				Connect ATTACHPOINT clouds hotspot
                connect ATTACHPOINT empower hotspot
				Connect ATTACHPOINT firebirth hotspot
				Connect ATTACHPOINT lavapool hotspot
				connect HOTSPOT ring hotspot
				//Connect ATTACHPOINT smokebirth hotspot
				//Connect CHIN rainbow hotspot
				Length 3.25
			}
		}
		set hotspot
		{
			version
			{
			Visual World A Underworld Passage
                tag Attack 0.67 true
                tag Attack 0.83 true
                tag Attack 0.99 true
                tag GenericSound 0.65 true
                tag GenericSound 0.81 true
                tag GenericSound 0.97 true
				tag SpecificSoundSet 0.0 false UnderworldPassageAttackRumble checkVisible
                tag SpecificSoundSet 0.63 false JadeDragonChargedAttack checkVisible
                tag SpecificSoundSet 0.79 false JadeDragonChargedAttack checkVisible
                tag SpecificSoundSet 0.95 false JadeDragonChargedAttack checkVisible
				Connect ATTACHPOINT clouds hotspot
                connect ATTACHPOINT empower hotspot
				Connect ATTACHPOINT firebirth hotspot
				Connect ATTACHPOINT fire hotspot
				Connect ATTACHPOINT smoke hotspot
				Connect ATTACHPOINT lavapool hotspot
				connect HOTSPOT ring hotspot
				//connect GarrisonFlag glow hotspot
				//Connect CHIN rainbow hotspot
				Length 3.25
			}
		}
	}
}

//==============================================================================
anim Charging
{
	SetSelector
	{
		containLogic
		set hotspot
		{
			version
			{
			Visual World A Underworld Passage
                tag Attack 0.05 true
                tag Attack 0.20 true
                tag Attack 0.35 true
                tag GenericSound 0.04 true
                tag GenericSound 0.19 true
                tag GenericSound 0.34 true
				tag SpecificSoundSet 0.0 false UnderworldPassageAttackRumble checkVisible
                tag SpecificSoundSet 0.04 false FireGiantAttack checkVisible
                tag SpecificSoundSet 0.19 false FireGiantAttack checkVisible
                tag SpecificSoundSet 0.34 false FireGiantAttack checkVisible
				Connect ATTACHPOINT clouds hotspot
                connect ATTACHPOINT empower hotspot
				Connect ATTACHPOINT firebirth hotspot
				Connect ATTACHPOINT lavapool hotspot
				connect HOTSPOT ring hotspot
				//Connect ATTACHPOINT smokebirth hotspot
				//Connect CHIN rainbow hotspot
				Length 3.25
			}
		}
		set hotspot
		{
			version
			{
			Visual World A Underworld Passage
                tag Attack 0.05 true
                tag Attack 0.20 true
                tag Attack 0.35 true
                tag GenericSound 0.04 true
                tag GenericSound 0.19 true
                tag GenericSound 0.34 true
				tag SpecificSoundSet 0.0 false UnderworldPassageAttackRumble checkVisible
                tag SpecificSoundSet 0.04 false FireGiantAttack checkVisible
                tag SpecificSoundSet 0.19 false FireGiantAttack checkVisible
                tag SpecificSoundSet 0.34 false FireGiantAttack checkVisible
				Connect ATTACHPOINT clouds hotspot
                connect ATTACHPOINT empower hotspot
				Connect ATTACHPOINT firebirth hotspot
				Connect ATTACHPOINT fire hotspot
				Connect ATTACHPOINT smoke hotspot
				Connect ATTACHPOINT lavapool hotspot
				connect HOTSPOT ring hotspot
				//connect GarrisonFlag glow hotspot
				//Connect CHIN rainbow hotspot
				Length 3.25
			}
		}
	}
}

//==============================================================================
anim Birth
{
	SetSelector
	{
      ConstructionLogic 0 33 66
      set hotspot
		{
			version
			{
			Visual World A Underworld Passage_birth
			Connect ATTACHPOINT clouds hotspot
			connect ATTACHPOINT empower hotspot
			Connect ATTACHPOINT firebirth hotspot
			Connect ATTACHPOINT smokebirth hotspot
			//connect HOTSPOT ring hotspot
			//Connect CHIN rainbow hotspot
            tag SpecificSoundSet 0.33 false TartarianGateBirth checkVisible
			}
		}
      set hotspot
      {
         version
         {
            Visual Building Construction3x3 A
				connect attachpoint G_Long_Brick hotspot
				connect face G_Long_Brick hotspot
				connect chin G_Medium_Brick hotspot
				connect leftfoot G_Medium_Brick hotspot
				connect lefthand G_Small_Brick hotspot
				connect leftleg G_Small_Brick hotspot
         }
      }
      set hotspot
      {
         version
         {
            Visual Building Construction3x3 B
				connect attachpoint G_Long_Brick hotspot
				connect face G_Long_Brick hotspot
				connect chin G_Medium_Brick hotspot
				connect leftfoot G_Medium_Brick hotspot
				connect lefthand G_Small_Brick hotspot
				connect leftleg G_Small_Brick hotspot
         }
      }
      set hotspot
      {
         version
         {
			Visual Building Construction Medium C
				connect attachpoint G_Long_Brick hotspot
				connect face G_Long_Brick hotspot
				connect chin G_Medium_Brick hotspot
				connect leftfoot G_Medium_Brick hotspot
				connect lefthand G_Small_Brick hotspot
				connect leftleg G_Small_Brick hotspot
         }
      }
   }
}

//==============================================================================
anim Death

{
   SetSelector
   {
      ConstructionLogic 0 33 66
      set hotspot
		{
			version
			{
			Visual World A Underworld Passage_Death
				Connect ATTACHPOINT clouds hotspot
				Connect ATTACHPOINT firedeath hotspot
				Connect ATTACHPOINT smokedeath hotspot
				tag SpecificSoundSet 0.25 false ImplodeRocks checkVisible
				//connect HOTSPOT ring hotspot
				//Connect CHIN rainbow hotspot
			}
		}
      set hotspot
      {
         version
         {
            Visual Building Construction3x3 A
				connect attachpoint G_Long_Brick hotspot
				connect face G_Long_Brick hotspot
				connect chin G_Medium_Brick hotspot
				connect leftfoot G_Medium_Brick hotspot
				connect lefthand G_Small_Brick hotspot
				connect leftleg G_Small_Brick hotspot
         }
      }
      set hotspot
      {
         version
         {
            Visual Building Construction3x3 B
				connect attachpoint G_Long_Brick hotspot
				connect face G_Long_Brick hotspot
				connect chin G_Medium_Brick hotspot
				connect leftfoot G_Medium_Brick hotspot
				connect lefthand G_Small_Brick hotspot
				connect leftleg G_Small_Brick hotspot
         }
      }
      set hotspot
      {
         version
         {
			Visual Building Construction Medium C
				connect attachpoint G_Long_Brick hotspot
				connect face G_Long_Brick hotspot
				connect chin G_Medium_Brick hotspot
				connect leftfoot G_Medium_Brick hotspot
				connect lefthand G_Small_Brick hotspot
				connect leftleg G_Small_Brick hotspot
         }
      }
   }
}
